package com.example.vote.flow.mapper;

import com.example.vote.flow.pojo.entity.VoteTopic;
import com.example.vote.flow.pojo.vo.VoteTopicSimpleVO;

import java.util.List;

public interface VoteTopicMapper {
    int insert(VoteTopic voteTopic);

    int deleteById(Long id);

    int updateById(VoteTopic voteTopic);

    VoteTopicSimpleVO selectById(Long id);

    List<VoteTopicSimpleVO> selectAll();
}